package com.share.finance.risk.rules.model.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 策略集
 * </p>
 *
 * @author author
 * @since 2023-12-25
 */
@Data
@Accessors(chain = true)
@TableName("rul_project_strategy")
public class ProjectStrategy implements Serializable{

    private static final long serialVersionUID=1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;
    /** 所属工程id */
    @TableField(value = "project_id")
    private Long projectId;
    /** 版本号 */
    @TableField(value = "project_version")
    private String projectVersion;
    /** 策略 id */
    @TableField(value = "strategy_id")
    private String strategyId;
    /** 策略 优先级 */
    @TableField(value = "strategy_sort")
    private Integer strategySort;

    /** 创建时间 */
    @TableField(value = "create_time")
    private Date createTime;

}
